const AdminRouter = [
   
   {//  管理
     path: '/admin',
     name: 'admin',
     component: () => import('../views/Admin/AdminView'),
   meta: {
   requireAuth: true
   },
     children: [
 
        {
           path: 'usermsg',
           name: 'usermsg',
           component: () => import('../views/Admin/UserMsg'),
           meta:{
                breadcrumb:"注册信息"
            }
        },
        {
            path:'role',
            name:'role',
            component:()=>import('../views/Admin/RoleMsg'),
            meta:{
                breadcrumb:"角色信息"
            }
        },
        {
            path:'text/:privateID',
            name:'text',
            component:()=>import('../views/Admin/TextT'),
            meta:{
                breadcrumb:"个人信息"
            }
        },
        {
            path: 'exp2',
            name: 'exp2',
            component: () => import('../views/expwyq/ExpT1')
          },
        {
         path:'uploadfile',
         name:'uploadfile',
         component:()=>import('../views/Admin/UploadFile'),
         meta:{
                breadcrumb:"文件上传"
            }
        },
        {
         path:'operlog',
         name:'operlog',
         component:()=>import('../views/Admin/OperLog'),
         meta:{
                breadcrumb:"操作日志"
            }
        },
        {
         path:'loginlog',
         name:'loginlog',
         component:()=>import('../views/Admin/LoginLog'),
         meta:{
                breadcrumb:"操作日志"
            }
        },
        {
         path:'studentmgt',
         name:'studentmgt',
         component:()=>import('../views/Admin/StuMgt'),
         meta:{
                breadcrumb:"学生管理"
            }
        },
        {
         path:'dormmgt',
         name:'dormmgt',
         component:()=>import('../views/Admin/DormMgt'),
         meta:{
                breadcrumb:"宿舍管理"
            }
        },
        {
         path:'buildingmgt',
         name:'buildingmgt',
         component:()=>import('../views/Admin/BuildingMgt'),
         meta:{
                breadcrumb:"楼栋管理"
            }
        },
        {
         path:'greencheck',
         name:'greencheck',
         component:()=>import('../views/Admin/GreenCheck'),
         meta:{
                breadcrumb:"绿色通道审核"
            }
        },
        {
         path:'greencstatus',
         name:'greencstatus',
         component:()=>import('../views/Admin/GreenCStatus'),
         meta:{
                breadcrumb:"绿色通道审核状态"
            }
        }
     ]
   }
]
export default AdminRouter;